package com.longcai.entity.scm;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品规格表
 * </p>
 *
 * @author LWK
 * @since 2019-04-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ClyjScmGoodsSpec implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 规格id
     */
    @TableId(value = "spec_id", type = IdType.UUID)
    private String specId;
    /**
     * 商品id
     */
    private String goodsId;
    /**
     * 规格明细
     */
    private String specDetail;
    private BigDecimal specPriceNew;
    private BigDecimal specPriceOld;
    private BigDecimal specYj;
    /**
     * 当前规格数量
     */
    private Integer specNum;
    /**
     * 排序
     */
    private String specSort;


}
